<?php
echo strtotime('2012-01-20 00:00:01');
echo "<br>";
echo strtotime('2012-01-20 23:59:59');